Optimal. Leaf size=103 \[ \frac {\left (b^2-4 a c\right )^3}{384 c^4 d^4 (b+2 c x)^3}-\frac {3 \left (b^2-4 a c\right )^2}{128 c^4 d^4 (b+2 c x)}-\frac {x \left (b^2-6 a c\right )}{32 c^3 d^4}+\frac {b x^2}{32 c^2 d^4}+\frac {x^3}{48 c d^4} \]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 103, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {683} \begin {gather*} \frac {\left (b^2-4 a c\right )^3}{384 c^4 d^4 (b+2 c x)^3}-\frac {3 \left (b^2-4 a c\right )^2}{128 c^4 d^4 (b+2 c x)}-\frac {x \left (b^2-6 a c\right )}{32 c^3 d^4}+\frac {b x^2}{32 c^2 d^4}+\frac {x^3}{48 c d^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 683
Rubi steps
\begin {align*} \int \frac {\left (a+b x+c x^2\right )^3}{(b d+2 c d x)^4} \, dx &=\int \left (\frac {-b^2+6 a c}{32 c^3 d^4}+\frac {b x}{16 c^2 d^4}+\frac {x^2}{16 c d^4}+\frac {\left (-b^2+4 a c\right )^3}{64 c^3 d^4 (b+2 c x)^4}+\frac {3 \left (-b^2+4 a c\right )^2}{64 c^3 d^4 (b+2 c x)^2}\right ) \, dx\\ &=-\frac {\left (b^2-6 a c\right ) x}{32 c^3 d^4}+\frac {b x^2}{32 c^2 d^4}+\frac {x^3}{48 c d^4}+\frac {\left (b^2-4 a c\right )^3}{384 c^4 d^4 (b+2 c x)^3}-\frac {3 \left (b^2-4 a c\right )^2}{128 c^4 d^4 (b+2 c x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 81, normalized size = 0.79 \begin {gather*} \frac {\frac {\left (b^2-4 a c\right )^3}{(b+2 c x)^3}-\frac {9 \left (b^2-4 a c\right )^2}{b+2 c x}+12 c x \left (6 a c-b^2\right )+12 b c^2 x^2+8 c^3 x^3}{384 c^4 d^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a+b x+c x^2\right )^3}{(b d+2 c d x)^4} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.40, size = 198, normalized size = 1.92 \begin {gather*} \frac {16 \, c^{6} x^{6} + 48 \, b c^{5} x^{5} - 2 \, b^{6} + 15 \, a b^{4} c - 24 \, a^{2} b^{2} c^{2} - 16 \, a^{3} c^{3} + 24 \, {\left (b^{2} c^{4} + 6 \, a c^{5}\right )} x^{4} - 8 \, {\left (2 \, b^{3} c^{3} - 27 \, a b c^{4}\right )} x^{3} - 12 \, {\left (2 \, b^{4} c^{2} - 15 \, a b^{2} c^{3} + 12 \, a^{2} c^{4}\right )} x^{2} - 6 \, {\left (2 \, b^{5} c - 15 \, a b^{3} c^{2} + 24 \, a^{2} b c^{3}\right )} x}{96 \, {\left (8 \, c^{7} d^{4} x^{3} + 12 \, b c^{6} d^{4} x^{2} + 6 \, b^{2} c^{5} d^{4} x + b^{3} c^{4} d^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 164, normalized size = 1.59 \begin {gather*} -\frac {9 \, b^{4} c^{2} x^{2} - 72 \, a b^{2} c^{3} x^{2} + 144 \, a^{2} c^{4} x^{2} + 9 \, b^{5} c x - 72 \, a b^{3} c^{2} x + 144 \, a^{2} b c^{3} x + 2 \, b^{6} - 15 \, a b^{4} c + 24 \, a^{2} b^{2} c^{2} + 16 \, a^{3} c^{3}}{96 \, {\left (2 \, c x + b\right )}^{3} c^{4} d^{4}} + \frac {2 \, c^{11} d^{8} x^{3} + 3 \, b c^{10} d^{8} x^{2} - 3 \, b^{2} c^{9} d^{8} x + 18 \, a c^{10} d^{8} x}{96 \, c^{12} d^{12}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 116, normalized size = 1.13 \begin {gather*} \frac {\frac {\frac {2}{3} c^{2} x^{3}+b c \,x^{2}+6 a c x -b^{2} x}{32 c^{3}}-\frac {64 a^{3} c^{3}-48 a^{2} b^{2} c^{2}+12 a \,b^{4} c -b^{6}}{384 \left (2 c x +b \right )^{3} c^{4}}-\frac {48 a^{2} c^{2}-24 a \,b^{2} c +3 b^{4}}{128 \left (2 c x +b \right ) c^{4}}}{d^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.38, size = 175, normalized size = 1.70 \begin {gather*} -\frac {2 \, b^{6} - 15 \, a b^{4} c + 24 \, a^{2} b^{2} c^{2} + 16 \, a^{3} c^{3} + 9 \, {\left (b^{4} c^{2} - 8 \, a b^{2} c^{3} + 16 \, a^{2} c^{4}\right )} x^{2} + 9 \, {\left (b^{5} c - 8 \, a b^{3} c^{2} + 16 \, a^{2} b c^{3}\right )} x}{96 \, {\left (8 \, c^{7} d^{4} x^{3} + 12 \, b c^{6} d^{4} x^{2} + 6 \, b^{2} c^{5} d^{4} x + b^{3} c^{4} d^{4}\right )}} + \frac {2 \, c^{2} x^{3} + 3 \, b c x^{2} - 3 \, {\left (b^{2} - 6 \, a c\right )} x}{96 \, c^{3} d^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.10, size = 194, normalized size = 1.88 \begin {gather*} x\,\left (\frac {3\,\left (b^2+a\,c\right )}{16\,c^3\,d^4}-\frac {7\,b^2}{32\,c^3\,d^4}\right )-\frac {\frac {16\,a^3\,c^3+24\,a^2\,b^2\,c^2-15\,a\,b^4\,c+2\,b^6}{3\,c}+x^2\,\left (48\,a^2\,c^3-24\,a\,b^2\,c^2+3\,b^4\,c\right )+x\,\left (48\,a^2\,b\,c^2-24\,a\,b^3\,c+3\,b^5\right )}{32\,b^3\,c^3\,d^4+192\,b^2\,c^4\,d^4\,x+384\,b\,c^5\,d^4\,x^2+256\,c^6\,d^4\,x^3}+\frac {x^3}{48\,c\,d^4}+\frac {b\,x^2}{32\,c^2\,d^4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.41, size = 192, normalized size = 1.86 \begin {gather*} \frac {b x^{2}}{32 c^{2} d^{4}} + x \left (\frac {3 a}{16 c^{2} d^{4}} - \frac {b^{2}}{32 c^{3} d^{4}}\right ) + \frac {- 16 a^{3} c^{3} - 24 a^{2} b^{2} c^{2} + 15 a b^{4} c - 2 b^{6} + x^{2} \left (- 144 a^{2} c^{4} + 72 a b^{2} c^{3} - 9 b^{4} c^{2}\right ) + x \left (- 144 a^{2} b c^{3} + 72 a b^{3} c^{2} - 9 b^{5} c\right )}{96 b^{3} c^{4} d^{4} + 576 b^{2} c^{5} d^{4} x + 1152 b c^{6} d^{4} x^{2} + 768 c^{7} d^{4} x^{3}} + \frac {x^{3}}{48 c d^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________